package com.watt.gateway.domain;

/**
 * 失败
 */
public class FailResultEntity extends ResultEntity {

    public FailResultEntity() {
        super.setErrcode(0);
    }

    public FailResultEntity(String message) {
        super.setErrcode(0);
        super.setErrmsg(message);
        super.setData(null);
    }
    public FailResultEntity(int code ,String message) {
        super.setErrcode(code);
        super.setErrmsg(message);
        super.setData(null);
    }
}
